package com.hobbit.net
{
	import flash.utils.ByteArray;
	import flash.utils.Endian;
	
	
	public class SocketEncryption
	{
		public function SocketEncryption()
		{
		}
		
		public static function getBAHash( _bytes:ByteArray ):String
		{
			var byte:ByteArray = new ByteArray();
			byte.writeBytes(_bytes);
//			byte.writeBytes( DataParser.getCharByte( "1qaz2wsx", 8 ) );
			
			return MD5BA.hash(byte);
		}
		
	}
}